import type { UploadProps as AntdUploadProps } from 'antd';
import { Upload as AntdUpload } from 'antd';
import React from 'react';
import Dragger from './Dragger';

export type Props = AntdUploadProps;

function Upload(props: Props) {
  return <AntdUpload {...props} />;
}
Upload.Dragger = Dragger;
Upload.LIST_IGNORE = AntdUpload.LIST_IGNORE;
export default Upload;
